package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class EnvelopeConfig implements Serializable {
    private Integer id;

    /**
     * 红包数额
     *
     * @mbg.generated
     */
    private BigDecimal envelopeMoney;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Byte sort;

    /**
     * 上下架状态 0->下架 1->上架
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 额外参数
     *
     * @mbg.generated
     */
    private String extra;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getEnvelopeMoney() {
        return envelopeMoney;
    }

    public void setEnvelopeMoney(BigDecimal envelopeMoney) {
        this.envelopeMoney = envelopeMoney;
    }

    public Byte getSort() {
        return sort;
    }

    public void setSort(Byte sort) {
        this.sort = sort;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", envelopeMoney=").append(envelopeMoney);
        sb.append(", sort=").append(sort);
        sb.append(", status=").append(status);
        sb.append(", extra=").append(extra);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}